<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>2_变量与常亮</title>
</head>
<body>
<script>
    //1.使用var关键字声明变量
    var a=10;
    console.log(a)
    a = 6.6;
    console.log(a)
    a = false;
    console.log(a)
    var a='hahahahahah我又来了'
    console.log(a)

    let x=10;
     x=6.6;
    console.log(x)
    let x=true;
    console.log(x)

</script>

</body>
</html>